package com.gu.resultMap;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @ProjectName: apartment-management-center
 * @Package: com.gu.resultMap
 * @ClassName: LeavingMessageWithAreaCode
 * @Author: gusongliao
 * @Description: 查询留言Map
 * @createDate 2021/04/11 12:54
 */
public class LeavingMessageWithAreaCode {

    /**
     * id id.
     */
    private Integer id;
    /**
     * reviews 评论/留言.
     */
    private String reviews;
    /**
     * userId 用户id.
     */
    private Integer userId;
    /**
     * createTime 创建时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    /**
     * updateTime 最后一次修改时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 被评论人id
     */
    private Integer parentId;

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String areaCode;

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    private String parentName;

    private String userName;

    private String ImgInfo;

    private String leavingInfo;

    public String getImgInfo() {
        return ImgInfo;
    }

    public void setImgInfo(String imgInfo) {
        ImgInfo = imgInfo;
    }

    public String getLeavingInfo() {
        return leavingInfo;
    }

    public void setLeavingInfo(String leavinginfo) {
        this.leavingInfo = leavinginfo;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * Set id id.
     */
    public void setId(Integer id){
        this.id = id;
    }

    /**
     * Get id id.
     *
     * @return the string
     */
    public Integer getId(){
        return id;
    }

    /**
     * Set reviews 评论/留言.
     */
    public void setReviews(String reviews){
        this.reviews = reviews;
    }

    /**
     * Get reviews 评论/留言.
     *
     * @return the string
     */
    public String getReviews(){
        return reviews;
    }

    /**
     * Set userId 用户id.
     */
    public void setUserId(Integer userId){
        this.userId = userId;
    }

    /**
     * Get userId 用户id.
     *
     * @return the string
     */
    public Integer getUserId(){
        return userId;
    }

    /**
     * Set createTime 创建时间.
     */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    /**
     * Get createTime 创建时间.
     *
     * @return the string
     */
    public Date getCreateTime(){
        return createTime;
    }

    /**
     * Set updateTime 最后一次修改时间.
     */
    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }

    /**
     * Get updateTime 最后一次修改时间.
     *
     * @return the string
     */
    public Date getUpdateTime(){
        return updateTime;
    }

    @Override
    public String toString() {
        return "LeavingMessageWithAreaCode{" +
                "id=" + id +
                ", reviews='" + reviews + '\'' +
                ", userId=" + userId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", parentId=" + parentId +
                ", areaCode='" + areaCode + '\'' +
                ", parentName='" + parentName + '\'' +
                ", userName='" + userName + '\'' +
                ", ImgInfo='" + ImgInfo + '\'' +
                ", leavingInfo='" + leavingInfo + '\'' +
                '}';
    }
}
